<%@ page import="com.sitech.portal.system.domain.TblSYS_LOGINMSG"%>
<%@ page import="com.sitech.BaseConst"%>
<%
	String ctxPath = request.getContextPath();
	TblSYS_LOGINMSG user = (TblSYS_LOGINMSG) request.getSession().getAttribute(BaseConst.SESSION_USER_KEY);
	String stylePath = ctxPath + user.getStylePath();
	String styleIsTab = user.getSTYLE_IS_TAB();
	String tabPath = "";
	if(styleIsTab==null||"".equals(styleIsTab)||"null".equals(styleIsTab)||"0".equals(styleIsTab))
	{
		tabPath = ctxPath + "/njs/notabs";
	}
	else
	{
		tabPath = ctxPath + "/njs/tabs";
	}
	String ip = request.getServerName();
%>
<script language="JavaScript" type="text/JavaScript">
	var stylePath = "<%=stylePath%>"; 
	var styleIstab = "<%=styleIsTab%>";
	var treeLinkColor = "#0066CC";
	var trMouseOnColor = "#b4d4ff";
	var isOutline = true;
	var outlineColor = "#fff";
	var shadowColor = "#000";
	
<%

	if (stylePath.indexOf("unicom") != -1) {
%>
		treeLinkColor = "#990000";
		trMouseOnColor = "#fadcdc";
		isOutline = true;
		outlineColor = "#fff";
		shadowColor = "#000";	
<%
	} else if (stylePath.indexOf("telcom") != -1) {
%>
		treeLinkColor = "#0066CC";
		trMouseOnColor = "#b4d4ff";
		isOutline = true;
		outlineColor = "#fff";
		shadowColor = "#fff";
<%
	} else if (stylePath.indexOf("default") != -1) {
%>
		treeLinkColor = "#0066CC";
		trMouseOnColor = "#b4d4ff";
		isOutline = false;
		outlineColor = "#fff";
		shadowColor = "#fff";
<%
	}
%>
    
</script> 
  
